<div  id="attendArea">
<div id="attendChoice" class="infoBox">

<?php
if ($this->response) {
?>
<p>嗨，<strong><?php 
echo $this->showUserOrEmail($this->invitedUser);?></strong>! <br/>
您已经决定 <?php 
if($this->response->response==1 ) echo "<strong style='color:#99CC33;'>参加</strong>";
if($this->response->response==0 ) echo "<strong style='color:#CC3300;'>不参加</strong>";
if($this->response->response==2 ) echo "<strong style='color:#FF9933;'>可能参加</strong>";
?> 本次活动了！改变主意？</p>

<?php
} else {
?>
<div id="invited_user_id"></div>
<p>嗨，<strong><?php 
echo $this->showUserOrEmail($this->invitedUser);?></strong>! <br/><strong><?php 
echo $this->showUserOrEmail($this->invitingUser);?></strong> 邀请您参加本次活动，您愿意吗?</p>

<?php }?>
<div id="actions">
<a id="yes" href="<?php echo $this->url(array('controller'=>'invitation','action'=>'response','iid'=>$this->invitation->id,'uid'=>$this->invitedUser->id,'r'=>1));?>">Yes</a>
<span class="separator"></span>
<a id="no" href="<?php echo $this->url(array('controller'=>'invitation','action'=>'response','iid'=>$this->invitation->id,'uid'=>$this->invitedUser->id,'r'=>0));?>">No</a>
<span class="separator"></span>
<a id="maybe" href="<?php echo $this->url(array('controller'=>'invitation','action'=>'response','iid'=>$this->invitation->id,'uid'=>$this->invitedUser->id,'r'=>2));?>">Maybe</a>
</div>

</div>


<div class="infoBoxTitle">
<div class="infoBoxTitleInner" id="qiandaobu">签到簿</div></div>
<div class="infoBox withTitle">
<ul>
<strong style="color:#99CC33;">我参加 ！(<?php echo count($this->selectYes)?>)</strong>
<?php 
echo $this->showInvitationResponse($this->selectYes);
?>
</ul>
<ul>
<strong style="color:#CC3300;">来不了。。(<?php echo count($this->selectNo)?>)</strong>
<?php 
echo $this->showInvitationResponse($this->selectNo);
?>
</ul>
<ul>
<strong style="color:#FF9933">看情况。。(<?php echo count($this->selectMaybe)?>)</strong>
<?php 
echo $this->showInvitationResponse($this->selectMaybe);
?>
</ul>
</div>
</div>